/*
 * TableScan.h
 *
 *  Created on: 24-Oct-2013
 *      Author: vikrantsingh  
 */

#ifndef TABLESCAN_H_
#define TABLESCAN_H_
#include "../PageLayout/Heap.h"
class TableScan {
private:
	Heap *heapFile;
	int currDirPageNo;
	int currDENo;
	int currDataPgNo;
	short currSlotNo;
	RIDStruct currRid;
public:
	TableScan(Heap *heapfile);
	virtual ~TableScan();
	STATUS_CODE getNextRec(char* & rec,unsigned & recLen);
	RIDStruct getRid();// for getting currentRID

};

#endif /* TABLESCAN_H_ */
